package com.oepm.dao.mapper;

import com.oepm.dao.entity.TimePo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TimeMapper {
    //增
    int insertTime(TimePo timePo);
    //删
    int deleteTime(String id);
    //改
    int updateTime(TimePo timePo);
    //查
    List<TimePo> selectAll();

    //更具学院查询答相关辩时间
    List<TimePo> queryAllByAcademy(@Param("academy") String academy);
}
